$('#head').load('./tou.html');
$('#footer').load('./jiao.html');
//轮播图
$tu = $('.lunbo .tu img');
$span = $('.lunbo .dian span');
var list = ['../img/image1.jpg','../img/image2.jpg','../img/image4.jpg','../img/image5.jpg'];
var t = 0;
var timer = null;
timer = setInterval(function(){
    t++;
    t = t > 3 ? 0 : t;
    $tu.attr('src',list[t]);
    $span.each(function(index,value){
        $(this).css('background-color','rgba(0,0,0,0.3)');
        if(index == t){
            $(this).css('background-color','red');
        }
    })
},2000)
//页面跳转
$('.banxin').click(function(){
    location.href = '../html/4liebiao.html';
})